package com.homework6.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.homework6.mapper.OrderMapper;
import com.homework6.po.Order;

@Service
public class OrderServiceImpl implements OrderService{
	
	@Autowired
	private OrderMapper orderMapper;

	@Override
	public Order findOrderByCard(String card) {
		return orderMapper.findOrderByCard(card);
	}
}
